package com.mxt.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class User {
    private Integer id;
    private String username;
    private String password;
    private String name;
    private String sex;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date establishDate;
}
